Discover ubuntu openstack tutorial, include the articles, news, trends, analysis and practical advice about ubuntu openstack tutorial on alibabacloud.com
This tutorial is based on the Ubuntu12.04 edition, and it will help readers build a openstack minimized installation. I am the top of the Wuyue, translation more use of transliteration method, so the individual words and the original discrepancy, please understand. I am not a major in English, I think the most important thing is to understand the technology, and not the four level and grind in the boring En
We are building a swift environment on our own these days. After reading some documents and combining my own practices, I wrote it down:
1. Physical Environment Description:
Linux: Ubuntu server 12.04 Proxy Server IP: 10.214.0.181storage server one: 10.214.0.179storage server two: 10.214.0.180storage server three: 10.214.0.182
2. important components:
Node: runs one or more object storage services.
Proxy node: Run proxy services
Auth node: Run auth
OpenStack Installation Deployment Tutorial
OpenStack is a free software and open source project, developed and launched by NASA and Rackspace, in collaboration with the Apache license. At the same time, OpenStack is an open-source cloud computing management platform that supports almost all types of cloud environments
restart
6. Add disk partitions, create volume groups, and volumes.Create a physical volume pvcreateCreate a volume group vgcreate13. Install the dashboard Software Package
Apt-get install openstack-dashboard memcached14. Installation Complete
The following is a collection of Openstack related knowledge for you to see if you like it:
Install and deploy Openstack
set dev eth1 up
This devstack environment with neutron has been set up. I don't think this process will be smooth. devstack/openstack is often updated, so different problems will occur every day. If you encounter installation problems, you can leave a message to discuss the issue. If there is a problem with the document, please point it out.
The following is a collection of Openstack related knowledge for
For questions about the choice of OpenStack version on Ubuntu, just look here.From 12.04 Lts, Ubuntu Cloud Archive allows users to install the updated OpenStack before the next lts version of Ubuntu is released. Take Ubuntu Server
Liberty and Mitaka version of the only role is the number
It is not used as a management of the Keystone module. I had a machine reboot during the OpenStack installation several times before Keystone synchronization
, the Keystone Service did not start up, resulting in a synchronization command error. So, putting this step in sync is the safest.
3. Configuring the Apache HTTP service
Apache2 has been installed, see the previous steps, there are only
Support for HA deployments with multiple operating systems and distributions
Externally provided APIs to manage and configure the environment, such as dynamically adding compute/storage nodes
Self-carrying Health check tool
Support for neutron, such as GRE and namespace are all done, subnet can configure the specific use of the physical network card, etc.
What is the structure of the Fuel?Fuel Master: A PXE-mode operating system installation service is provided by the open sour
Ubuntu can use Apt-mirror to download Ubuntu source and OpenStack source.Install the download tool Apt-mirrorApt-get Install Apt-mirrorModifying the source configuration, using the Souhu sourceVi/etc/apt/mirror.listAdd the following content:#############config####################setbase_path/var/spool/ Apt-mirrorsetbase_path/home/
=" Http://s5.51cto.com/wyfs02/M02/86/06/wKiom1eyxTrSc-zjAAAUG26_-bE735.png-wh_500x0-wm_3 -wmp_4-s_3997281321.png "title=" qq picture 20160816154657.png "alt=" Wkiom1eyxtrsc-zjaaaug26_-be735.png-wh_50 "/>Modify/ETC/MYSQL/MY.CNFin the [Mysqld] under Group modification:bind-address = Controllerin the [Mysqld] Group under Add:Default-storage-engine = InnoDBInnodb_file_per_tableCollation-server = Utf8_general_ciInit-connect = ' SET NAMES UTF8 'Character-set-server = UTF8To restart the database servic
This article describes the process of installing Mitaka Nova in Ubuntu 16.04 under a single point
Step 1:root identity into MySQL, create two databases
CREATE DATABASE Nova_api;
CREATE DATABASE Nova;
Step 2: Still in the database, create a Nova user and give permissions, the following command to set a consistent Nova_dbpass value, and then quit MySQL
GRANT all privileges on nova_api.* to ' nova ' @ ' localhost ' identified by ' nova_dbpass ';
GRANT al
OpenStack is an IaaS-as-a-service cloud architecture that allows users to create their own virtual machines on OpenStack, and then the cloud hosts as if they were using their own computers. The next Ubuntu example is to create an Ubuntu system on OpenStack.Not all systems can be run on
/archive.ubuntu.com,g//Replace with local sourceand comment out all the security.ubuntu.com related optionsYou can add a MongoDB sourceDeb Http://192.168.1.108/downloads-distro.mongodb.org/repo/ubuntu-upstart Dist 10genNetwork Update Source:#vim/etc/apt/sources.list:%s,us.archive.ubuntu.com,cn.archive.ubuntu.com,gComment out Zib#apt-get UpdateCopy openstack-ubuntu
In order to enable the openstack colleagues to quickly install and deploy openstack Essex, vpsee completed the onestack project in July 2 and can easily install and deploy openstack Essex on Ubuntu.
The following are the related connections and details:
Onestack: Ubuntu 12
single point of installation, as long as the controller is on the line.
3. Clock synchronization, One-in-all installation mode, because all components are installed on a machine, time synchronization is not so important, this step feel can skip
Action 3.1: Execute the installation command Apt-get install Chrony
Action 3.2: Edit the/etc/chrony/chrony.conf, add the following sentence in any position of the parameter settings, I set the Shanghai Jiaotong University's NTP server address
Action 3.
configuration file (comment it out PremitRootLogin without_password so that the root user who has set the password cannot log in)vim /etc/ssh/sshd_config#PremitRootLogin without_passwordPremitRootLogin yesRestart the SSH serviceservice ssh restart2. Install the OpenStack package (per node)apt-get install ubuntu-cloud-keyring"deb http://ubuntu-cloud.archive.canon
I. Neutron environmentReference Document: Http://www.aboutyun.com/thread-13108-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/neutron-controller-install.html1. Create a neutron database and authorize
Create
mysql -u root -pCREATE DATABASE neutron;
Authorized
GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron‘@‘localhost‘ IDENTIFIED BY ‘NEUTRON_PASS‘;GRANT ALL PRIVILEGES ON neutron.* TO ‘neutron‘@‘%‘ IDENTIFIED BY
A. Nova EnvironmentReference Document: Http://www.aboutyun.com/thread-13089-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/nova-controller-install.html1. Create a Nova database and authorize
Create
mysql -u root -pCREATE DATABASE nova;
Authorization (self-setting password, connect database with, my Nova)
GRANT ALL PRIVILEGES ON nova.* TO ‘nova‘@‘localhost‘ IDENTIFIED BY ‘NOVA_PASS‘;GRANT ALL PRIVILEGES ON nov
$IFACE promisc off
ifconfig $IFACE down
Compute nodes: Vim/etc/network/interface
Auto Eht0
iface eth0 inet static
address 10.0.0.31
netmask 255.255.255.0
Gateway 10.0.0.1
Dan-nameserver 8.8.8.8
Auto eth1
iface eth1 inet static
address 10.0.1.31
netmask 255.255.255.0
Edit each node (add the following):
Vim/etc/hosts
Controller 10.0.0.11
network 10.0.0.21
compute 10.0.0.31
Three machines ping each other to see if the ping's pass
Three. Environmental preparedness1. Installing Open
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.